treerbtree: Use for loops
authorBenjamin Otte <otte@redhat.com>
Thu, 5 Mar 2020 05:58:44 +0000 (06:58 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 5 Mar 2020 06:59:05 +0000 (07:59 +0100)
commit7dce9e426e836aec83c16c490336376d2c9593cf
treebf0a2590882b1b39bc190f911fc56f3eb6c01176
parent4e88d5a7cf0be3e1fae2a1e6076a4325014647ee
treerbtree: Use for loops

Makes the code more readable.
Also does the NULL check for the initial element, which was misisng
before.
gtk/gtktreerbtree.c